<?php
return array(
	'detailView' => array(
		'attributes' => array(
			array(
				'name' => 'profile.hotel_id',
				'value' => Yii::app()->enum->lookup('goods.companyHotel',CHtml::value($model, 'profile.hotel_id'))
			),
			'profile.room_type',
			array(
				'name' => 'profile.has_breakfast',
				'value' => Yii::app()->enum->lookup('yes2no',CHtml::value($model, 'profile.has_breakfast'))
			),
			array(
				'name' => 'profile.bed_type',
				'value' => Yii::app()->enum->lookup('goods.bedType',CHtml::value($model, 'profile.bed_type'))
			),
			'profile.floor',
			array(
				'name' => 'profile.bed_additional',
				'value' => Yii::app()->enum->lookup('yes2no',CHtml::value($model, 'profile.bed_additional'))
			),
			array(
				'name' => 'profile.no_smoking',
				'value' => Yii::app()->enum->lookup('yes2no',CHtml::value($model, 'profile.no_smoking'))
			),
			array(
				'name' => 'profile.broadband_type',
				'value' => Yii::app()->enum->lookup('goods.broadbandType',CHtml::value($model, 'profile.broadband_type'))
			),
			array(
				'name' => 'profile.bathroom_type',
				'value' => Yii::app()->enum->lookup('goods.bathroomType',CHtml::value($model, 'profile.bathroom_type'))
			),
			array(
				'name' => 'profile.breakfast_type',
				'value' => Yii::app()->enum->lookup('goods.breakfastType',CHtml::value($model, 'profile.breakfast_type'))
			),
			array(
				'name' => 'profile.notes',
				'type' => 'raw'
			),
			array(
				'name' => 'profile.info',
				'type' => 'raw'
			),
		),
	),
	'_import' => array(
		array('*', 'actions.goods.goodsView//*'),
		array('detailView.*', 'actions.goods.goodsView//detailView.*'),
	),
)?>